package com.msa.msaportal.common.web;

import java.text.SimpleDateFormat;
import java.util.Date;

public class JavaTimeUtils {

	/**
	 * 获取当前时间
	 * @return
	 */
	public static String getCurrentTime(){
		Date datetime = new Date();
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
		String timestr = sdf.format(datetime);
		return timestr;
	}
}
